/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.session;

import com.velocityme.entity.Node;
import com.velocityme.entity.UserAccess;
import java.util.Set;
import javax.ejb.Local;

/**
 *
 * @author rcrida
 */
@Local
public interface UserAccessLocal {

    UserAccess createUserAccess(KeyLocal key, Long nodeId, Long userId, Long roleId);

    void deleteUserAccess(KeyLocal key, Long userAccessId);

    Set<UserAccess> getUserAccessByNode(KeyLocal key, Node node);
    
}
